﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Transactions {

    public class TCompleteMission extends TFarmTransaction {

        protected var m_userId:String;
        protected var m_missionHostId:String;
        protected var m_missionType:String;

        public function TCompleteMission(_arg1:String){
            this.m_userId = Global.player.snUser.uid;
            this.m_missionHostId = Global.getVisiting();
            this.m_missionType = _arg1;
        }
        override public function perform():void{
            signedCall("MissionService.completeMission", this.m_missionHostId.toString(), this.m_missionType);
        }
        override protected function onComplete(_arg1:Object):void{
            if (((!((_arg1 == null))) && ((_arg1.showFeed == true)))){
            };
        }

    }
}//package Transactions 
